<?php
/**
 * RUBIK IT Solution & Development Co.ltd,
 *
 * PROJECT		: x4you
 * COPYRIGHT	: 2008
 * ------------------------------------------------------
 * 
 * DTO class of  #__contact table
 *
 * @author			generator <hoadn@rubik.com.vn>
 * @access			public
 * @package			dbo.ContactDTO
 *
 * Created on	: Friday, September 04, 2009
 */

// Importer
RCoreImporter::cls( "dbo.AbstractDTO" );

/**
 * @name ContactDTO
 * The data transfer object class for table: #__contact
 *
 * 
 */
class MemberViewDTO extends AbstractDTO {

	// Keys
	var $member_id	= "N*|||key";
	// Colums
	//var $des_en		= "S||a";
	var $username		= "S";
	var $password		= "S";
	var $lastname		= "S";
	var $firstname		= "S";
	var $placebirth		= "S";
	var $birthday		= "S";
	var $mobile		= "S";
	var $email		= "S";
	var $skype			= "S";
	var $address		= "S";
	var $city			= "S";
	var $country		= "S";
	var $zipcode		= "S";
	var $involvement 		= "S";
	
	var $looking_job		= "S";
	var $company		= "S";
	var $position		= "S";
	var $industry		= "S";
	var $employer_address	= "S";
	var $how_long		= "S";
	
	var $firstname1		= "S";
	var $lastname1		= "S";
	var $placebirth1		= "S";
	var $birthday1		= "S";
	var $mobile1		= "S";
	var $email1		= "S";
	var $skype1			= "S";
	var $country1		= "S";
	var $zipcode1		= "S";
	var $involvement1		= "S";
	
	var $by_member		= "S";
	var $how_know		= "S";
	var $active			= "B|0";
	
	/**	
	 * Constructor	
	 * @param string $where	 the where string (without WHERE)
	 * @param string $orderBy the other by string (with order by)
	 * @param DataBase $db the database (if null the database of system will be specify)
	 */	
	function __construct($where='', $orderBy = '', $db = null) {
//		$where = self::buildMoreWhere($where, "info_id=1");
		//parent::__construct('#__member', $where, $orderBy, $db);
		parent::__construct('FROM member ', $where, $orderBy, $db);
	}
	
	
	
	
}
?>